package cz.vutbr.fit.dnacompress.events;

/**
 * Event pro smazana data
 */
public class AlignDeletitionEvent extends AlignEvent {
	
	// pomocne pro vypocet poctu smazanych bazi
	int length = 0;
	
	/**
	 * konstruktor 
	 * 
	 * @param int position
	 */
	public AlignDeletitionEvent(int position) {
		super(position);
		// definice separatoru
		this.separator = "d";
		this.end = "d";
		// short class pro identifikaci v tabulce poctu
		this.setShortClass( "Del");
	}
	
	/**
	 * implementace specialniho addData pripadu 
	 */
	public void addData() {
		length++;
		this.setData( length);
	}
}
